Installation
Get started with the Investing Algorithm Framework by following these simple installation steps.
Prerequisites
Before installing the framework, ensure you have:
- Python 3.10+ installed on your system
- pip (Python package installer)
- git (for cloning repositories)
Installation Options
Option 1: Install from PyPI (Recommended)
Install the latest stable version from PyPI:
pip install investing-algorithm-framework
This installs the core framework with CCXT support.
Optional Data Provider Extras
The framework supports additional data providers that can be installed as optional extras:
# Yahoo Finance (stocks, ETFs, indices — free, no API key)
pip install investing-algorithm-framework[yahoo]
# Alpha Vantage (stocks, forex, crypto — free API key required)
pip install investing-algorithm-framework[alpha_vantage]
# Polygon.io (US stocks, options, forex, crypto — API key required)
pip install investing-algorithm-framework[polygon]
# Install all optional data providers at once
pip install investing-algorithm-framework[all]
You can combine multiple extras:
pip install investing-algorithm-framework[yahoo,polygon]
Deployment
If you plan to deploy your bot to AWS Lambda or Azure Functions (see How to deploy a trading bot), install the extra matching your target platform. These pull in the SDKs needed for the corresponding StateHandler (e.g. AWSS3StorageStateHandler, AzureBlobStorageStateHandler) and the iaf deploy-* CLI commands:
# AWS Lambda (S3-backed state storage)
pip install investing-algorithm-framework[aws]
# Azure Functions (Blob Storage-backed state storage)
pip install investing-algorithm-framework[azure]
These can also be combined with data provider extras, e.g. investing-algorithm-framework[aws,yahoo].
Option 2: Install from Source
For the latest development version, install directly from GitHub:
pip install git+https://github.com/coding-kitties/investing-algorithm-framework.git
Option 3: Development Installation
If you plan to contribute to the framework:
-
Clone the repository:
git clone https://github.com/coding-kitties/investing-algorithm-framework.git
cd investing-algorithm-framework -
Install in development mode:
pip install -e .
Managed Platforms
The framework can be run locally or deployed to infrastructure you manage. There are also platforms that support the full lifecycle of applications built with the Investing Algorithm Framework.
Finterion Platform provides managed tooling for:
- Integrating applications built with the Investing Algorithm Framework
- Uploading and storing backtests in the Open Backtest Format
- Advanced analytics and reporting of backtests
- Analyzing CAGR, Sharpe ratio, drawdown, alpha, stability, consistency, and walk-forward/out-of-sample performance
- Connecting supported exchanges and brokers across crypto and traditional markets
- Publishing research, sharing results, and discussing implementations with the quantitative trading community
- Live deployments of trading applications in paper and live trading environments
Finterion is optional. The open-source framework remains fully usable on its own, while Finterion provides advanced features and a managed path for teams and individuals.
Next Steps
Once installation is complete, proceed to Application Setup to create your first trading application!